import { createSSRApp } from "vue";
import * as Pinia from "pinia";
import _ from "lodash";

import App from "./App.vue";

/**
 * @return {app} 返回主应用
 */

console.warn = () => {
  //
};
export default function createApp(): object {
  const app = createSSRApp(App);
  app.use(Pinia.createPinia());
  return {
    app,
    Pinia,
  };
}
